home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
m&tcga
/
gtools.h
< prev
next >
Wrap
Text File
|
1988-06-04
|
1KB
|
30 lines
/*┌───────────────────────────────────────────────────────┐
│ │
│ HEADER FILE FOR CGA and EGA GRAPHICS TOOLS │
│ │
└───────────────────────────────────────────────────────┘*/
void cls(char colors);
char getAdapter();
int getMode(int *ncols);
int getPage(void);
void getxy(int *column, int *row, int page);
void gotoxy(int column, int row);
int readChar(int page, char *attr);
void readColorReg(int color_reg, int *red, int *green, int *blue);
int readPixel(int x, int y);
void scrollWindowDn(int x1, int y1, int x2, int y2, int color);
void scrollWindowUp(int x1, int y1, int x2, int y2, int color);
void setBackground(int color);
void setCGAPalette(int paletteNo);
void setColorPage(int page_no);
void setColorPageMode(int mode);
void setEGAPalette(int palette, int color);
void setMode(int mode);
void setPage(int page);
void setWindow(int x1, int y1, int x2, int y2, int color);
void writChar(char ch, int color, int page);
void writeColorReg(int color_reg, int red, int green, int blue);
void writString(char *str, int color, int page);